Integrand size = 33, antiderivative size = 205 \[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=-\frac {2 a (5 A+3 C) \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{5 d}+\frac {2 a (7 A+5 C) \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) \sqrt {\sec (c+d x)}}{21 d}+\frac {2 a (5 A+3 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{5 d}+\frac {2 a (7 A+5 C) \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{21 d}+\frac {2 a C \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{5 d}+\frac {2 a C \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d} \]
2/21*a*(7*A+5*C)*sec(d*x+c)^(3/2)*sin(d*x+c)/d+2/5*a*C*sec(d*x+c)^(5/2)*si n(d*x+c)/d+2/7*a*C*sec(d*x+c)^(7/2)*sin(d*x+c)/d+2/5*a*(5*A+3*C)*sin(d*x+c )*sec(d*x+c)^(1/2)/d-2/5*a*(5*A+3*C)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2* d*x+1/2*c)*EllipticE(sin(1/2*d*x+1/2*c),2^(1/2))*cos(d*x+c)^(1/2)*sec(d*x+ c)^(1/2)/d+2/21*a*(7*A+5*C)*(cos(1/2*d*x+1/2*c)^2)^(1/2)/cos(1/2*d*x+1/2*c )*EllipticF(sin(1/2*d*x+1/2*c),2^(1/2))*cos(d*x+c)^(1/2)*sec(d*x+c)^(1/2)/ d
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 6.00 (sec) , antiderivative size = 409, normalized size of antiderivative = 2.00 \[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {2 a e^{-i d x} \cos ^2(c+d x) \csc (c) \left (A+C \sec ^2(c+d x)\right ) \left (7 \sqrt {2} (5 A+3 C) e^{2 i d x} \left (-1+e^{2 i c}\right ) \sqrt {\frac {e^{i (c+d x)}}{1+e^{2 i (c+d x)}}} \sqrt {1+e^{2 i (c+d x)}} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {3}{4},\frac {7}{4},-e^{2 i (c+d x)}\right )-\frac {e^{-i (c-d x)} \left (-1+e^{2 i c}\right ) \left (35 A \left (1+e^{2 i (c+d x)}\right )^2 \left (-1+3 e^{i (c+d x)}+e^{2 i (c+d x)}+3 e^{3 i (c+d x)}\right )+C \left (-25+21 e^{i (c+d x)}-85 e^{2 i (c+d x)}+189 e^{3 i (c+d x)}+85 e^{4 i (c+d x)}+231 e^{5 i (c+d x)}+25 e^{6 i (c+d x)}+63 e^{7 i (c+d x)}\right )\right ) \sqrt {\sec (c+d x)}}{\left (1+e^{2 i (c+d x)}\right )^3}+10 (7 A+5 C) e^{i d x} \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) \sqrt {\sec (c+d x)} \sin (c)\right )}{105 d (A+2 C+A \cos (2 (c+d x)))} \]
(2*a*Cos[c + d*x]^2*Csc[c]*(A + C*Sec[c + d*x]^2)*(7*Sqrt[2]*(5*A + 3*C)*E ^((2*I)*d*x)*(-1 + E^((2*I)*c))*Sqrt[E^(I*(c + d*x))/(1 + E^((2*I)*(c + d* x)))]*Sqrt[1 + E^((2*I)*(c + d*x))]*Hypergeometric2F1[1/2, 3/4, 7/4, -E^(( 2*I)*(c + d*x))] - ((-1 + E^((2*I)*c))*(35*A*(1 + E^((2*I)*(c + d*x)))^2*( -1 + 3*E^(I*(c + d*x)) + E^((2*I)*(c + d*x)) + 3*E^((3*I)*(c + d*x))) + C* (-25 + 21*E^(I*(c + d*x)) - 85*E^((2*I)*(c + d*x)) + 189*E^((3*I)*(c + d*x )) + 85*E^((4*I)*(c + d*x)) + 231*E^((5*I)*(c + d*x)) + 25*E^((6*I)*(c + d *x)) + 63*E^((7*I)*(c + d*x))))*Sqrt[Sec[c + d*x]])/(E^(I*(c - d*x))*(1 + E^((2*I)*(c + d*x)))^3) + 10*(7*A + 5*C)*E^(I*d*x)*Sqrt[Cos[c + d*x]]*Elli pticF[(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]]*Sin[c]))/(105*d*E^(I*d*x)*(A + 2* C + A*Cos[2*(c + d*x)]))
Time = 1.14 (sec) , antiderivative size = 197, normalized size of antiderivative = 0.96, number of steps used = 18, number of rules used = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.545, Rules used = {3042, 4565, 27, 3042, 4535, 3042, 4255, 3042, 4258, 3042, 3120, 4534, 3042, 4255, 3042, 4258, 3042, 3119}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \sec ^{\frac {3}{2}}(c+d x) (a \sec (c+d x)+a) \left (A+C \sec ^2(c+d x)\right ) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (a \csc \left (c+d x+\frac {\pi }{2}\right )+a\right ) \left (A+C \csc \left (c+d x+\frac {\pi }{2}\right )^2\right )dx\) |
\(\Big \downarrow \) 4565 |
\(\displaystyle \frac {2}{7} \int \frac {1}{2} \sec ^{\frac {3}{2}}(c+d x) \left (7 a C \sec ^2(c+d x)+a (7 A+5 C) \sec (c+d x)+7 a A\right )dx+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{7} \int \sec ^{\frac {3}{2}}(c+d x) \left (7 a C \sec ^2(c+d x)+a (7 A+5 C) \sec (c+d x)+7 a A\right )dx+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+a (7 A+5 C) \csc \left (c+d x+\frac {\pi }{2}\right )+7 a A\right )dx+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 4535 |
\(\displaystyle \frac {1}{7} \left (a (7 A+5 C) \int \sec ^{\frac {5}{2}}(c+d x)dx+\int \sec ^{\frac {3}{2}}(c+d x) \left (7 a C \sec ^2(c+d x)+7 a A\right )dx\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (a (7 A+5 C) \int \csc \left (c+d x+\frac {\pi }{2}\right )^{5/2}dx+\int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+7 a A\right )dx\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 4255 |
\(\displaystyle \frac {1}{7} \left (\int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+7 a A\right )dx+a (7 A+5 C) \left (\frac {1}{3} \int \sqrt {\sec (c+d x)}dx+\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}\right )\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+7 a A\right )dx+a (7 A+5 C) \left (\frac {1}{3} \int \sqrt {\csc \left (c+d x+\frac {\pi }{2}\right )}dx+\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}\right )\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 4258 |
\(\displaystyle \frac {1}{7} \left (\int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+7 a A\right )dx+a (7 A+5 C) \left (\frac {1}{3} \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {1}{\sqrt {\cos (c+d x)}}dx+\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}\right )\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+7 a A\right )dx+a (7 A+5 C) \left (\frac {1}{3} \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {1}{\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right )}}dx+\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}\right )\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3120 |
\(\displaystyle \frac {1}{7} \left (\int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2} \left (7 a C \csc \left (c+d x+\frac {\pi }{2}\right )^2+7 a A\right )dx+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 4534 |
\(\displaystyle \frac {1}{7} \left (\frac {7}{5} a (5 A+3 C) \int \sec ^{\frac {3}{2}}(c+d x)dx+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\frac {7}{5} a (5 A+3 C) \int \csc \left (c+d x+\frac {\pi }{2}\right )^{3/2}dx+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 4255 |
\(\displaystyle \frac {1}{7} \left (\frac {7}{5} a (5 A+3 C) \left (\frac {2 \sin (c+d x) \sqrt {\sec (c+d x)}}{d}-\int \frac {1}{\sqrt {\sec (c+d x)}}dx\right )+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\frac {7}{5} a (5 A+3 C) \left (\frac {2 \sin (c+d x) \sqrt {\sec (c+d x)}}{d}-\int \frac {1}{\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right )}}dx\right )+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 4258 |
\(\displaystyle \frac {1}{7} \left (\frac {7}{5} a (5 A+3 C) \left (\frac {2 \sin (c+d x) \sqrt {\sec (c+d x)}}{d}-\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \sqrt {\cos (c+d x)}dx\right )+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{7} \left (\frac {7}{5} a (5 A+3 C) \left (\frac {2 \sin (c+d x) \sqrt {\sec (c+d x)}}{d}-\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \sqrt {\sin \left (c+d x+\frac {\pi }{2}\right )}dx\right )+a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
\(\Big \downarrow \) 3119 |
\(\displaystyle \frac {1}{7} \left (a (7 A+5 C) \left (\frac {2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{3 d}+\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{3 d}\right )+\frac {7}{5} a (5 A+3 C) \left (\frac {2 \sin (c+d x) \sqrt {\sec (c+d x)}}{d}-\frac {2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{d}\right )+\frac {14 a C \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{5 d}\right )+\frac {2 a C \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d}\) |
(2*a*C*Sec[c + d*x]^(7/2)*Sin[c + d*x])/(7*d) + ((14*a*C*Sec[c + d*x]^(5/2 )*Sin[c + d*x])/(5*d) + (7*a*(5*A + 3*C)*((-2*Sqrt[Cos[c + d*x]]*EllipticE [(c + d*x)/2, 2]*Sqrt[Sec[c + d*x]])/d + (2*Sqrt[Sec[c + d*x]]*Sin[c + d*x ])/d))/5 + a*(7*A + 5*C)*((2*Sqrt[Cos[c + d*x]]*EllipticF[(c + d*x)/2, 2]* Sqrt[Sec[c + d*x]])/(3*d) + (2*Sec[c + d*x]^(3/2)*Sin[c + d*x])/(3*d)))/7
3.3.7.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticE[(1/2)* (c - Pi/2 + d*x), 2], x] /; FreeQ[{c, d}, x]
Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticF[(1/2 )*(c - Pi/2 + d*x), 2], x] /; FreeQ[{c, d}, x]
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d* x]*((b*Csc[c + d*x])^(n - 1)/(d*(n - 1))), x] + Simp[b^2*((n - 2)/(n - 1)) Int[(b*Csc[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && IntegerQ[2*n]
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(b*Csc[c + d*x] )^n*Sin[c + d*x]^n Int[1/Sin[c + d*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]
Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*(csc[(e_.) + (f_.)*(x_)]^2*(C_.) + (A_)), x_Symbol] :> Simp[(-C)*Cot[e + f*x]*((b*Csc[e + f*x])^m/(f*(m + 1) )), x] + Simp[(C*m + A*(m + 1))/(m + 1) Int[(b*Csc[e + f*x])^m, x], x] /; FreeQ[{b, e, f, A, C, m}, x] && NeQ[C*m + A*(m + 1), 0] && !LeQ[m, -1]
Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*((A_.) + csc[(e_.) + (f_.)*(x_)]* (B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.)), x_Symbol] :> Simp[B/b Int[(b*Cs c[e + f*x])^(m + 1), x], x] + Int[(b*Csc[e + f*x])^m*(A + C*Csc[e + f*x]^2) , x] /; FreeQ[{b, e, f, A, B, C, m}, x]
Int[((A_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_.) + (f_.)*(x_)]*(d_. ))^(n_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)), x_Symbol] :> Simp[(-b)*C*C sc[e + f*x]*Cot[e + f*x]*((d*Csc[e + f*x])^n/(f*(n + 2))), x] + Simp[1/(n + 2) Int[(d*Csc[e + f*x])^n*Simp[A*a*(n + 2) + b*(C*(n + 1) + A*(n + 2))*C sc[e + f*x] + a*C*(n + 2)*Csc[e + f*x]^2, x], x], x] /; FreeQ[{a, b, d, e, f, A, C, n}, x] && !LtQ[n, -1]
Leaf count of result is larger than twice the leaf count of optimal. \(810\) vs. \(2(229)=458\).
Time = 3.67 (sec) , antiderivative size = 811, normalized size of antiderivative = 3.96
method | result | size |
default | \(\text {Expression too large to display}\) | \(811\) |
parts | \(\text {Expression too large to display}\) | \(1002\) |
-a*(-(-2*cos(1/2*d*x+1/2*c)^2+1)*sin(1/2*d*x+1/2*c)^2)^(1/2)*(2*A*(-1/6*co s(1/2*d*x+1/2*c)*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(cos (1/2*d*x+1/2*c)^2-1/2)^2+1/3*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/2*d*x+ 1/2*c)^2+1)^(1/2)/(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*Ell ipticF(cos(1/2*d*x+1/2*c),2^(1/2)))+2*A/sin(1/2*d*x+1/2*c)^2/(2*sin(1/2*d* x+1/2*c)^2-1)*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)*(2*cos( 1/2*d*x+1/2*c)*sin(1/2*d*x+1/2*c)^2-(sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticE (cos(1/2*d*x+1/2*c),2^(1/2))*(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2))+2/5*C/sin(1 /2*d*x+1/2*c)^2/(8*sin(1/2*d*x+1/2*c)^6-12*sin(1/2*d*x+1/2*c)^4+6*sin(1/2* d*x+1/2*c)^2-1)*(24*sin(1/2*d*x+1/2*c)^6*cos(1/2*d*x+1/2*c)-12*(sin(1/2*d* x+1/2*c)^2)^(1/2)*EllipticE(cos(1/2*d*x+1/2*c),2^(1/2))*(2*sin(1/2*d*x+1/2 *c)^2-1)^(1/2)*sin(1/2*d*x+1/2*c)^4-24*cos(1/2*d*x+1/2*c)*sin(1/2*d*x+1/2* c)^4+12*(sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticE(cos(1/2*d*x+1/2*c),2^(1/2)) *(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2)*sin(1/2*d*x+1/2*c)^2+8*cos(1/2*d*x+1/2*c )*sin(1/2*d*x+1/2*c)^2-3*(sin(1/2*d*x+1/2*c)^2)^(1/2)*EllipticE(cos(1/2*d* x+1/2*c),2^(1/2))*(2*sin(1/2*d*x+1/2*c)^2-1)^(1/2))*(-2*sin(1/2*d*x+1/2*c) ^4+sin(1/2*d*x+1/2*c)^2)^(1/2)+2*C*(-1/56*cos(1/2*d*x+1/2*c)*(-2*sin(1/2*d *x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(cos(1/2*d*x+1/2*c)^2-1/2)^4-5/42* cos(1/2*d*x+1/2*c)*(-2*sin(1/2*d*x+1/2*c)^4+sin(1/2*d*x+1/2*c)^2)^(1/2)/(c os(1/2*d*x+1/2*c)^2-1/2)^2+5/21*(sin(1/2*d*x+1/2*c)^2)^(1/2)*(-2*cos(1/...
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.10 (sec) , antiderivative size = 243, normalized size of antiderivative = 1.19 \[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {-5 i \, \sqrt {2} {\left (7 \, A + 5 \, C\right )} a \cos \left (d x + c\right )^{3} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + 5 i \, \sqrt {2} {\left (7 \, A + 5 \, C\right )} a \cos \left (d x + c\right )^{3} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right ) - 21 i \, \sqrt {2} {\left (5 \, A + 3 \, C\right )} a \cos \left (d x + c\right )^{3} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right )\right ) + 21 i \, \sqrt {2} {\left (5 \, A + 3 \, C\right )} a \cos \left (d x + c\right )^{3} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right )\right ) + \frac {2 \, {\left (21 \, {\left (5 \, A + 3 \, C\right )} a \cos \left (d x + c\right )^{3} + 5 \, {\left (7 \, A + 5 \, C\right )} a \cos \left (d x + c\right )^{2} + 21 \, C a \cos \left (d x + c\right ) + 15 \, C a\right )} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}}}{105 \, d \cos \left (d x + c\right )^{3}} \]
1/105*(-5*I*sqrt(2)*(7*A + 5*C)*a*cos(d*x + c)^3*weierstrassPInverse(-4, 0 , cos(d*x + c) + I*sin(d*x + c)) + 5*I*sqrt(2)*(7*A + 5*C)*a*cos(d*x + c)^ 3*weierstrassPInverse(-4, 0, cos(d*x + c) - I*sin(d*x + c)) - 21*I*sqrt(2) *(5*A + 3*C)*a*cos(d*x + c)^3*weierstrassZeta(-4, 0, weierstrassPInverse(- 4, 0, cos(d*x + c) + I*sin(d*x + c))) + 21*I*sqrt(2)*(5*A + 3*C)*a*cos(d*x + c)^3*weierstrassZeta(-4, 0, weierstrassPInverse(-4, 0, cos(d*x + c) - I *sin(d*x + c))) + 2*(21*(5*A + 3*C)*a*cos(d*x + c)^3 + 5*(7*A + 5*C)*a*cos (d*x + c)^2 + 21*C*a*cos(d*x + c) + 15*C*a)*sin(d*x + c)/sqrt(cos(d*x + c) ))/(d*cos(d*x + c)^3)
Timed out. \[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=\text {Timed out} \]
\[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + A\right )} {\left (a \sec \left (d x + c\right ) + a\right )} \sec \left (d x + c\right )^{\frac {3}{2}} \,d x } \]
\[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + A\right )} {\left (a \sec \left (d x + c\right ) + a\right )} \sec \left (d x + c\right )^{\frac {3}{2}} \,d x } \]
Timed out. \[ \int \sec ^{\frac {3}{2}}(c+d x) (a+a \sec (c+d x)) \left (A+C \sec ^2(c+d x)\right ) \, dx=\int \left (A+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right )\,\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )\,{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2} \,d x \]